package com.ecloud.gateway.model;

import java.util.Set;

import org.springframework.cloud.gateway.route.RouteDefinition;

/**
 * 动态路由实体
 *
 * @author LiuGangQiang Create in 2021/07/05
 */
public class GatewayRoute {
    Set<RouteDefinition> routes;

    /**
     * @return the routes
     */
    public Set<RouteDefinition> getRoutes() {
        return routes;
    }

    /**
     * @param routes the routes to set
     */
    public void setRoutes(Set<RouteDefinition> routes) {
        this.routes = routes;
    }
}